.battle-view {
  background-image: url(../../img/app/app-di.jpg);
  background-size: cover;
}

.detail-top {
  height: 10%;
  line-height: 3rem;
  position: relative;
  .detail-top-bg {
    position: absolute;
    left: 0;
    top: 0;
  }
  .detail-top-header {
    width: 3.5rem;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: .5rem;
    margin-top: .2rem;
  }
}

.detail-middle {
  .watch-code-top {
    height: .5rem;
  }
  &.noTop {
    height: 88%;
    .battle-item {
      margin-top: .3rem;
    }
  }
  height: 79%;
  .content {
    width: 94%;
    margin: auto;
    height: 100%;
    border-radius: .5rem;
    .header {
      height: 10%;
      position: relative;
      .pure-u-1-3 {
        position: relative; // background: linear-gradient(to bottom, rgba(164,175,181,0.2), rgba(0,48,79,0.2), rgba(164,175,181,0.2));
        // background: linear-gradient(to bottom, #a4afb5, #00304f, #a4afb5);
        // background-image: url(../../img/battle/header-top-gredient.png);
        // background-size: contain;
      }
      .label {
        width: 100%;
      }
    }
    .info {
      height: 88%;
      width: 100%;
      margin: auto;
      overflow-y: auto;
      overflow-x: hidden;
      margin-top: 2%;
    }
  }
  .ingredient {
    background-image: url(../../img/battle/header-top-gredient.png);
    background-size: contain;
  }
  .left-radius {
    border-top-left-radius: .5rem;
  }
  .right-radius {
    border-top-right-radius: .5rem;
  }
}

.battle-item {
  // width: 100%;

  position: relative;
  background-image: url(../../img/battle/ssss-rect.png);
  background-size: 100% 102%;
  border-radius: 1rem;
  padding: 0.8rem 1.89rem 1rem;
  background-position-y: -5px;
  background-repeat: no-repeat;
  min-height: 7rem;
  a {
    display: flex;
    justify-content: center;
    align-content: center;align-items: center;
    flex-direction: column;
  }

  .replay-content-top {
    font-size: .8rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0 .2rem;

    margin-top: 4px;
    width: 100%;
  }
  .battle-content-top {
    font-size: .8rem;
    height: 1.6rem;
    line-height: 1.6rem;
    margin-top: .4rem;
    width: 100%;
    .replay {
      width: 24%;
    }
    .roomNo {
      width: 4.5rem;
    }
    .roomNumber {
      width: 1rem;
      height: 1.4rem;
    }
  }
  .battle-content-middle {
    // height: 5rem;
    width: 100%;
    .box {
      margin-top: .3rem;
    }
    .point-show {
      background-image: url(../../img/battle/player-item.png);
      width: 95%;
      margin: auto;
      line-height: 2rem;
      height: 2rem;
      display: flex;
      padding-right: 1rem;
      padding-left: .6rem;
      justify-content: space-between;
      background-size: 100% 100%;
      box-sizing: border-box;
    }
  }
  .battle-content-bottom {

    font-size: .8rem;
    height: 2rem;
    line-height: 2rem;
    margin-top: .5rem;
    position: relative;
    display: flex;
    width: 90%;
    bottom: 0;
    justify-content: space-between;

}
  .middle-img {
    img {
      vertical-align: text-bottom;
    }
  }
}

.replay {
  width: 4.2rem;
  margin-left: 1rem;
}

.record-fail {
  color: #023c26;
}

.record-win {
  color: #ffa804;
}

.roomNo-text {
  color: #042b28;
  font-size: 1.1rem;
  font-weight: bold;
}

.empty-tip {
  text-align: center;
  line-height: 5rem;
  font-size: 1.3rem;
}

.white-text {
  color: #fff;
}

.round-game-top {
  height: 1%;
}

.round-game-middle {
  height: 89%;
  .info {
    height: 97% !important;
  }
}

.zhuang-icon {
  width: 1.5rem;
  vertical-align: middle;
  margin-right: 1.6rem;
  display: inline-flex;
  align-items: center;
  img {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.zhuang-username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 3.4rem;
}